package com.hqyj.springBoot.modules.account.service;

import com.hqyj.springBoot.modules.common.vo.Result;
import com.hqyj.springBoot.modules.account.entity.Role;

import java.util.List;

public interface RoleService {

    Result<Role> insertRole(Role role);

    Result<Role> updateRole(Role role);

    Result<Object> deleteRoleById(int roleId);

    Role selectRoleById(int roleId);

    List<Role> getAllRolls();

}
